package com.example.qxfw.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qxfw.common.entity.JgInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/************************************
*
* @author : HuangDeYin Jolly
* @since : JDK 11
* @Date : 2023/7/10  星期一   9:01
* @description : 此类用来
***************************************/
@Mapper
public interface JgInfoMapperXml extends BaseMapper<JgInfo> {
    /**
     * delete by primary key
     * @param name primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(@Param("name") String name, @Param("jd") String jd);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(JgInfo record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(JgInfo record);

    /**
     * select by primary key
     * @param name primary key
     * @return object by primary key
     */
    JgInfo selectByPrimaryKey(@Param("name") String name, @Param("jd") String jd);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(JgInfo record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(JgInfo record);

    List<JgInfo> getRtrimName(String name);




}